<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>以撒的结合 - 游戏专题</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --dark-brown: #3c2f2f;
            --medium-brown: #4b3832;
            --light-brown: #be9b7b;
            --gold: #d4af37;
            --cream: #fff4e6;
            --red: #854442;
        }

        body {
            background-color: var(--dark-brown);
            color: var(--cream);
            background-image: url('https://images.unsplash.com/photo-1520034475321-cbe63696469a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-attachment: fixed;
            background-blend-mode: multiply;
            line-height: 1.6;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* 头部导航样式 */
        header {
            background-color: rgba(60, 47, 47, 0.95);
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            border-bottom: 2px solid var(--gold);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 60px;
            margin-right: 15px;
        }

        .logo h1 {
            font-size: 2.2rem;
            color: var(--gold);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            letter-spacing: 1px;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 25px;
        }

        nav ul li a {
            color: var(--cream);
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 4px;
            transition: all 0.3s ease;
            position: relative;
        }

        nav ul li a:hover {
            background-color: var(--red);
            color: var(--gold);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--gold);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        /* Banner区域 */
        .banner {
            height: 500px;
            margin: 30px 0;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 3px solid var(--gold);
        }

        .slides {
            height: 100%;
            position: relative;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 30px;
            color: white;
        }

        .slide-content h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: var(--gold);
        }

        .slide-content p {
            font-size: 1.2rem;
            max-width: 800px;
        }

        .slide-controls {
            position: absolute;
            bottom: 20px;
            right: 20px;
            display: flex;
        }

        .slide-btn {
            background-color: rgba(212, 175, 55, 0.7);
            border: none;
            color: var(--dark-brown);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-left: 10px;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .slide-btn:hover {
            background-color: var(--gold);
            transform: scale(1.1);
        }

        /* 角色介绍部分 */
        .section-title {
            text-align: center;
            margin: 50px 0 30px;
            position: relative;
            padding-bottom: 15px;
        }

        .section-title h2 {
            font-size: 2.8rem;
            color: var(--gold);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--gold);
            border-radius: 2px;
        }

        .characters {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
            margin-bottom: 60px;
        }

        .character-card {
            flex: 1;
            min-width: 300px;
            background-color: rgba(75, 56, 50, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease;
            border: 2px solid var(--light-brown);
        }

        .character-card:hover {
            transform: translateY(-10px);
        }

        .character-img {
            height: 300px;
            background-size: cover;
            background-position: center;
        }

        .character-info {
            padding: 20px;
        }

        .character-info h3 {
            font-size: 1.8rem;
            color: var(--gold);
            margin-bottom: 10px;
            border-bottom: 2px solid var(--red);
            padding-bottom: 8px;
        }

        .character-info p {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .traits {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .trait {
            background-color: var(--red);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        /* 道具区域 */
        .items {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 60px;
        }

        .item-card {
            background-color: rgba(75, 56, 50, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            border: 2px solid var(--light-brown);
        }

        .item-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        }

        .item-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .item-info {
            padding: 15px;
        }

        .item-info h3 {
            color: var(--gold);
            margin-bottom: 8px;
            font-size: 1.4rem;
        }

        .item-info p {
            font-size: 0.95rem;
        }

        /* 个人信息区域 */
        .personal-info {
            background-color: rgba(75, 56, 50, 0.9);
            border-radius: 10px;
            padding: 30px;
            margin: 40px 0;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
            border: 2px solid var(--gold);
        }

        .personal-info h2 {
            text-align: center;
            color: var(--gold);
            margin-bottom: 25px;
            font-size: 2.2rem;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .info-card {
            background-color: rgba(60, 47, 47, 0.6);
            padding: 20px;
            border-radius: 8px;
            border: 1px solid var(--light-brown);
        }

        .info-card h3 {
            color: var(--gold);
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--red);
        }

        .info-card p {
            margin-bottom: 10px;
        }

        /* 底部样式 */
        footer {
            background-color: rgba(33, 25, 25, 0.95);
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
            border-top: 3px solid var(--gold);
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .copyright {
            font-size: 1.1rem;
            margin-top: 20px;
        }

        .social-links {
            margin-top: 20px;
        }

        .social-links a {
            display: inline-block;
            color: var(--cream);
            background-color: var(--medium-brown);
            width: 40px;
            height: 40px;
            line-height: 40px;
            border-radius: 50%;
            margin: 0 8px;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: var(--gold);
            color: var(--dark-brown);
            transform: translateY(-5px);
        }

        /* 响应式设计 */
        @media (max-width: 900px) {
            .header-content {
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav ul li {
                margin: 5px 10px;
            }
            
            .characters {
                flex-direction: column;
            }
            
            .banner {
                height: 400px;
            }
        }

        @media (max-width: 600px) {
            .banner {
                height: 300px;
            }
            
            .slide-content h2 {
                font-size: 1.8rem;
            }
            
            .slide-content p {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
        }
    </style>
</head>
<body>
    <!-- 头部导航 -->
    <header>
        <div class="container header-content">
            <div class="logo">
                <img src="标题.webp" alt="以撒的结合Logo">
                <h1>以撒的结合</h1>
            </div>
            <nav>
                <ul>
                    <li><a href="#"><i class="fas fa-home"></i> 首页</a></li>
                    <li><a href="#characters"><i class="fas fa-users"></i> 角色介绍</a></li>
                    <li><a href="#items"><i class="fas fa-gem"></i> 道具展示</a></li>
                    <li><a href="#personal"><i class="fas fa-user"></i> 个人信息</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <div class="container">
        <!-- Banner轮播图 -->
        <section class="banner">
            <div class="slides">
                <div class="slide active" style="background-image: url('a/头图.jpg');">
                    <div class="slide-content">
                        <h2>以撒的结合：忏悔</h2>
                        <p>《以撒的结合》是一款拥有另类画面的动作冒险游戏，玩家将扮演以撒，在随机生成的地牢中探险，遭遇各种奇特的敌人和道具。</p>
                    </div>
                </div>
                <div class="slide" style="background-image: url('a/2.png');">
                    <div class="slide-content">
                        <h2>随机生成的地牢</h2>
                        <p>每次游戏都会生成独一无二的地牢布局、敌人组合和道具，带来无尽的挑战和惊喜。</p>
                    </div>
                </div>
                <div class="slide" style="background-image: url('a/0.jpg');">
                    <div class="slide-content">
                        <h2>丰富的道具系统</h2>
                        <p>游戏拥有超过500种道具，每种道具都会给角色带来独特的能力变化，形成千变万化的游戏体验。</p>
                    </div>
                </div>
            </div>
            <div class="slide-controls">
                <button class="slide-btn prev"><i class="fas fa-chevron-left"></i></button>
                <button class="slide-btn next"><i class="fas fa-chevron-right"></i></button>
            </div>
        </section>

        <!-- 角色介绍 -->
        <section id="characters">
            <div class="section-title">
                <h2>角色介绍</h2>
            </div>
            <div class="characters">
                <div class="character-card">
                    <div class="character-img" style="background-image: url('a/蓝人.png');"></div>
                    <div class="character-info">
                        <h3>小蓝人 (???)</h3>
                        <p>???（???） 是一个重生中加入的人物。</p>
                        <p>初始属性：3颗心，1.0移速，2.5射速，3.5射程，1.0弹速，1.0伤害</p>
                        <div class="traits">
                            <span class="trait">无法拾取红心</span>
                            <span class="trait">平衡型</span>
                            <span class="trait">蓝苍蝇</span>
                        </div>
                    </div>
                </div>
                <div class="character-card">
                    <div class="character-img" style="background-image: url('a/鸭脖.png');"></div>
                    <div class="character-info">
                        <h3>亚玻伦 (Apollyon)</h3>
                        <p>亚玻伦是"忏悔"DLC中加入的角色，其能力是使用虚空主动道具吸收其他道具，获得属性加成。</p>
                        <p>初始属性：2颗心，1.0移速，2.5射速，3.75射程，1.0弹速，3.5伤害</p>
                        <div class="traits">
                            <span class="trait">虚空主动道具</span>
                            <span class="trait">吸收底座道具</span>
                            <span class="trait">高属性</span>
                        </div>
                    </div>
                </div>
                <div class="character-card">
                    <div class="character-img" style="background-image: url('a/罗.png');"></div>
                    <div class="character-info">
                        <h3>游魂 (The Lost)</h3>
                        <p>游魂是一个幽灵形态的角色，无法获得红心，但可以免费进入恶魔房，并且拥有飞行能力。</p>
                        <p>初始属性：无红心容器，1.0移速，2.5射速，6.5射程，1.0弹速，3.5伤害</p>
                        <div class="traits">
                            <span class="trait">幽灵形态</span>
                            <span class="trait">飞行能力</span>
                            <span class="trait">恶魔房免费</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 道具展示 -->
        <section id="items">
            <div class="section-title">
                <h2>道具展示</h2>
            </div>
            <div class="items">
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/火.png');"></div>
                    <div class="item-info">
                        <h3>硫磺火 (Brimstone)</h3>
                        <p>发射一道巨大的血激光，取代普通眼泪。伤害非常高，但攻击频率较低。</p>
                    </div>
                </div>
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/圣心.png');"></div>
                    <div class="item-info">
                        <h3>圣心 (Sacred Heart)</h3>
                        <p>大幅提升伤害和射程，眼泪变为跟踪眼泪，并恢复所有红心。</p>
                    </div>
                </div>
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/神性.png');"></div>
                    <div class="item-info">
                        <h3>神性 (Godhead)</h3>
                        <p>眼泪周围产生光环，对敌人造成持续伤害，并大幅提升属性。</p>
                    </div>
                </div>
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/D6.png');"></div>
                    <div class="item-info">
                        <h3>D6 (The D6)</h3>
                        <p>以撒的初始道具，可以重新生成房间内的道具，是游戏中最强大的道具之一。</p>
                    </div>
                </div>
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/苍蝇.png');"></div>
                    <div class="item-info">
                        <h3>灵能苍蝇 (Psy Fly)</h3>
                        <p>灵能苍蝇会试图环绕角色，并自动追踪其附近的敌方泪弹，飞向泪弹处将其阻拦。</p>
                    </div>
                </div>
                <div class="item-card">
                    <div class="item-img" style="background-image: url('a/蘑菇.png');"></div>
                    <div class="item-info">
                        <h3>魔法蘑菇 (Magic Mushroom)</h3>
                        <p>提升所有属性，包括伤害、射程、移速等，并恢复所有红心。</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- 标题五个字 -->
        <section id="personal">
            <div class="section-title">
                <h2>标题五个字</h2>
            </div>
            <div class="personal-info">
                <div class="info-grid">
                    <div class="info-card">
                        <h3>学生信息</h3>
                        <p><strong>姓名：</strong>张之凡</p>
                        <p><strong>学号：</strong>2410250047</p>
                        <p><strong>专业：</strong>软件工程</p>
                    </div>
                    <div class="info-card">
                        <h3>游戏简介</h3>
                        <p>《以撒的结合：重生（The Binding of Isaac: Rebirth）》是一款集合了推箱子、血统检验、少女换装、宠物养成等等元素的地牢探险/Roguelite类跨世代大作。</p>
                    </div>
                    <div class="info-card">
                        <h3>包含以下要素</h3>
                        <p>耸肩无视</p>
                        <p>注定伟大</p>
                        <p>随堂小测</p>
                        <p>算你过了</p>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- 底部版权 -->
    <footer>
        <div class="container footer-content">
            <div class="copyright">
                <p>&copy; 《以撒的结合》专题网站 | </p>
                <p>本网站为课程设计作品，非商业用途</p>
            </div>
            <div class="social-links">
                <a href="#"><i class="fab fa-github"></i></a>
                <a href="#"><i class="fab fa-weixin"></i></a>
                <a href="#"><i class="fab fa-qq"></i></a>
                <a href="#"><i class="fab fa-steam"></i></a>
            </div>
        </div>
    </footer>

    <script>
        // 轮播图功能
        document.addEventListener('DOMContentLoaded', function() {
            const slides = document.querySelectorAll('.slide');
            const prevBtn = document.querySelector('.prev');
            const nextBtn = document.querySelector('.next');
            let currentSlide = 0;
            const slideCount = slides.length;
            
            // 显示指定幻灯片
            function showSlide(index) {
                slides.forEach(slide => slide.classList.remove('active'));
                slides[index].classList.add('active');
                currentSlide = index;
            }
            
            // 下一张幻灯片
            function nextSlide() {
                let nextIndex = (currentSlide + 1) % slideCount;
                showSlide(nextIndex);
            }
            
            // 上一张幻灯片
            function prevSlide() {
                let prevIndex = (currentSlide - 1 + slideCount) % slideCount;
                showSlide(prevIndex);
            }
            
            // 添加按钮事件监听
            nextBtn.addEventListener('click', nextSlide);
            prevBtn.addEventListener('click', prevSlide);
            
            // 自动轮播
            setInterval(nextSlide, 5000);
            
            // 初始化显示第一张幻灯片
            showSlide(0);
        });
    </script>
</body>
</html>
